FROM quay.io/openeuler/openeuler:22.03

ENV LANG=en_US.utf8
COPY openEuler_aarch64.repo /etc/yum.repos.d/openEuler_aarch64.repo

RUN set -eux; \
    yum install -y bzip2 bzip2-devel curl libaio readline-devel expect tar shadow hostname passwd \
    which git python3 python3-devel python3-pip openssl-devel net-tools openssh-server vim iputils lsof iproute && \
    groupadd -g 1025 omm;  \
    useradd -u 1025 -g omm -d /home/omm omm